package day1.demo7;

public class Test1 {
    public static void main(String[] args) {

        Class c;
        int a = 10;
        int b = 10;
        String s1 = "abcd";
        String s2 = "abcd";
        String s3 = new String(s1);
        s3=null;
        s1=null;
        System.out.println(s1 == s2);
        System.out.println(s3==s2);

    }
}
